class_name GameState
extends Resource

# ===============================================

@export var state: State :
	set(value):
		state = value
		changed.emit()

# ===============================================

enum State {PREPARATION, BATTLE}

# ===============================================

func is_battling() -> bool:
	return state == State.BATTLE
